package com.santoker.gateway.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 指定url配置类
 *
 * @author jiangs
 */
@Component
@ConfigurationProperties(prefix = "config-attributes")
@RefreshScope
@Data
public class UrlEntity {

    /**
     * 不需要登录的接口
     */
    private List<String> puriList;

}
